package com.eshop.modules.activity.vo;

import java.util.Date;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import java.io.Serializable;

@ApiModel(value = "YxStoreBargainUserQueryVo对象", description = "用户参与砍价表查询参数")
public class StoreBargainUserQueryVo implements Serializable
{
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("用户参与砍价表ID")
    private Long id;
    @ApiModelProperty("用户ID")
    private Long uid;
    @ApiModelProperty("砍价产品id")
    private Long bargainId;
    @ApiModelProperty("砍价的最低价")
    private BigDecimal bargainPriceMin;
    @ApiModelProperty("砍价金额")
    private BigDecimal bargainPrice;
    @ApiModelProperty("砍掉的价格")
    private BigDecimal price;
    @ApiModelProperty("状态 1参与中 2 活动结束参与失败 3活动结束参与成功")
    private Integer status;
    private Double residuePrice;
    private String title;
    private String image;
    private Date datatime;
    
    public Long getId() {
        return this.id;
    }
    
    public Long getUid() {
        return this.uid;
    }
    
    public Long getBargainId() {
        return this.bargainId;
    }
    
    public BigDecimal getBargainPriceMin() {
        return this.bargainPriceMin;
    }
    
    public BigDecimal getBargainPrice() {
        return this.bargainPrice;
    }
    
    public BigDecimal getPrice() {
        return this.price;
    }
    
    public Integer getStatus() {
        return this.status;
    }
    
    public Double getResiduePrice() {
        return this.residuePrice;
    }
    
    public String getTitle() {
        return this.title;
    }
    
    public String getImage() {
        return this.image;
    }
    
    public Date getDatatime() {
        return this.datatime;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setUid(final Long uid) {
        this.uid = uid;
    }
    
    public void setBargainId(final Long bargainId) {
        this.bargainId = bargainId;
    }
    
    public void setBargainPriceMin(final BigDecimal bargainPriceMin) {
        this.bargainPriceMin = bargainPriceMin;
    }
    
    public void setBargainPrice(final BigDecimal bargainPrice) {
        this.bargainPrice = bargainPrice;
    }
    
    public void setPrice(final BigDecimal price) {
        this.price = price;
    }
    
    public void setStatus(final Integer status) {
        this.status = status;
    }
    
    public void setResiduePrice(final Double residuePrice) {
        this.residuePrice = residuePrice;
    }
    
    public void setTitle(final String title) {
        this.title = title;
    }
    
    public void setImage(final String image) {
        this.image = image;
    }
    
    public void setDatatime(final Date datatime) {
        this.datatime = datatime;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreBargainUserQueryVo)) {
            return false;
        }
        final StoreBargainUserQueryVo other = (StoreBargainUserQueryVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        Label_0102: {
            if (this$uid == null) {
                if (other$uid == null) {
                    break Label_0102;
                }
            }
            else if (this$uid.equals(other$uid)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$bargainId = this.getBargainId();
        final Object other$bargainId = other.getBargainId();
        Label_0139: {
            if (this$bargainId == null) {
                if (other$bargainId == null) {
                    break Label_0139;
                }
            }
            else if (this$bargainId.equals(other$bargainId)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0176: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0176;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$residuePrice = this.getResiduePrice();
        final Object other$residuePrice = other.getResiduePrice();
        Label_0213: {
            if (this$residuePrice == null) {
                if (other$residuePrice == null) {
                    break Label_0213;
                }
            }
            else if (this$residuePrice.equals(other$residuePrice)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$bargainPriceMin = this.getBargainPriceMin();
        final Object other$bargainPriceMin = other.getBargainPriceMin();
        Label_0250: {
            if (this$bargainPriceMin == null) {
                if (other$bargainPriceMin == null) {
                    break Label_0250;
                }
            }
            else if (this$bargainPriceMin.equals(other$bargainPriceMin)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$bargainPrice = this.getBargainPrice();
        final Object other$bargainPrice = other.getBargainPrice();
        Label_0287: {
            if (this$bargainPrice == null) {
                if (other$bargainPrice == null) {
                    break Label_0287;
                }
            }
            else if (this$bargainPrice.equals(other$bargainPrice)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$price = this.getPrice();
        final Object other$price = other.getPrice();
        Label_0324: {
            if (this$price == null) {
                if (other$price == null) {
                    break Label_0324;
                }
            }
            else if (this$price.equals(other$price)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$title = this.getTitle();
        final Object other$title = other.getTitle();
        Label_0361: {
            if (this$title == null) {
                if (other$title == null) {
                    break Label_0361;
                }
            }
            else if (this$title.equals(other$title)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$image = this.getImage();
        final Object other$image = other.getImage();
        Label_0398: {
            if (this$image == null) {
                if (other$image == null) {
                    break Label_0398;
                }
            }
            else if (this$image.equals(other$image)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$datatime = this.getDatatime();
        final Object other$datatime = other.getDatatime();
        if (this$datatime == null) {
            if (other$datatime == null) {
                return true;
            }
        }
        else if (this$datatime.equals(other$datatime)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreBargainUserQueryVo;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $uid = this.getUid();
        result = result * 59 + (($uid == null) ? 43 : $uid.hashCode());
        final Object $bargainId = this.getBargainId();
        result = result * 59 + (($bargainId == null) ? 43 : $bargainId.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $residuePrice = this.getResiduePrice();
        result = result * 59 + (($residuePrice == null) ? 43 : $residuePrice.hashCode());
        final Object $bargainPriceMin = this.getBargainPriceMin();
        result = result * 59 + (($bargainPriceMin == null) ? 43 : $bargainPriceMin.hashCode());
        final Object $bargainPrice = this.getBargainPrice();
        result = result * 59 + (($bargainPrice == null) ? 43 : $bargainPrice.hashCode());
        final Object $price = this.getPrice();
        result = result * 59 + (($price == null) ? 43 : $price.hashCode());
        final Object $title = this.getTitle();
        result = result * 59 + (($title == null) ? 43 : $title.hashCode());
        final Object $image = this.getImage();
        result = result * 59 + (($image == null) ? 43 : $image.hashCode());
        final Object $datatime = this.getDatatime();
        result = result * 59 + (($datatime == null) ? 43 : $datatime.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreBargainUserQueryVo(id=" + this.getId() + ", uid=" + this.getUid() + ", bargainId=" + this.getBargainId() + ", bargainPriceMin=" + this.getBargainPriceMin() + ", bargainPrice=" + this.getBargainPrice() + ", price=" + this.getPrice() + ", status=" + this.getStatus() + ", residuePrice=" + this.getResiduePrice() + ", title=" + this.getTitle() + ", image=" + this.getImage() + ", datatime=" + this.getDatatime() + ")";
    }
}
